Righteousness is "being just, holy, virtuous, upright; acting in obedience to God's commands; avoiding sin" (Guide to the Scriptures, "Righteous, Righteousness," scriptures.lds.org).